package com.starpl.mobile.android.monthunsae.november.activity;

import android.os.Bundle;
import android.view.Menu;
import android.widget.ImageView;

import com.starpl.mobile.android.monthunsae.november.R;
import com.starpl.mobile.android.platform.common.base.BaseActivity;

/**
 * 네트워크 에러가 발생시에 보여주는 에러 화면
 * 
 * @author 박우람
 * @since 2011.02.17
 */
public class NetworkErrorActivity extends BaseActivity
{
	/* (non-Javadoc)
	 * @see com.starpl.platform.common.base.BaseActivity#onCreate(android.os.Bundle)
	 */
	@Override
	protected void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		ImageView background = new ImageView(this);
		background.setImageResource(R.drawable.img_error_network);
		setContentView(background);
	}
	
	/* (non-Javadoc)
	 * @see com.starpl.platform.common.base.BaseActivity#onCreateOptionsMenu(android.view.Menu)
	 */
	@Override
	public boolean onCreateOptionsMenu(Menu menu)
	{
		return false;
	}
}
